import Vue from 'vue'
import VueRouter from 'vue-router'

// import clock from '../components/clock'
import threedemo from '../components/threeDemo'
import calculator from '../components/calculator'

Vue.use(VueRouter)

const routes = [
    // {
    //     path: '/clock',
    //     name: 'clock',
    //     component: clock
    // }
    {
        path: '/three',
        name: 'threedemo',
        component: threedemo
    },
    {
      path: '/calculator',
      name: 'calculator',
      component: calculator
    }
  ]
  
  const router = new VueRouter({
    routes
  })
  
  export default router